package com.sunfeng.gulimall.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Author : SunFeng
 * @Description: 网关服务   注意网关服务必须是后启动   如若不然会造成503错误
 * @Date : 2021/7/17  15:00
 */

@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class GuLiMallGateWayApplication {
    public static void main(String[] args) {
        SpringApplication.run(GuLiMallGateWayApplication.class, args);
    }

}
